using UnityEngine;

/// <summary>
/// 双胞向日葵 植物数据
/// </summary>
[CreateAssetMenu(menuName = "创建ScriptableObject/Plants/TwinSunFlowerData")]
public class TwinSunFlowerData : SunflowerData
{
    [Header("双胞特性")]
    [Tooltip("每次产生的阳光数量（固定为双倍）")]
    public int SunAmountMultiplier = 2;

    private void OnEnable()
    {
        Type = PlantType.TwinSunFlower;
        Amount = Amount > 0 ? Amount * 2 : 2; // 确保是双倍
    }
}

